home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / World_Atlas_1.adf / AREXX.txt < prev    next >
Text File  |  1991-12-15  |  22KB  |  1,047 lines

  1.  
  2. World Atlas AREXX-Interface
  3. ===========================
  4. by Henrik Brinch
  5.  
  6.  
  7. Why AREXX?
  8.  
  9. Because it is the FUTURE!  Any program should have an AREXX host.
  10. It allows the end-user of a program to customize the program to individual user needs.
  11.  
  12.  
  13. What can I do with AREXX interface in World Atlas?
  14.  
  15. It might sound strange to have an AREXX interface a program like World Atlas, but it gives the user a lot of advantages.
  16. You can create your own teacher which asks different
  17. questions about the data in WA (i.e. the Tutor.wa example)
  18. Are you tired of the editor? Then create an AREXX script for use with
  19. your own favorite editor.
  20. Have you ever thought about sharing information between World Atlas
  21. and other programs?  In fact the possibilities are only
  22. limited by your imagination!
  23.  
  24. AREXX is _NOT_ Public Domain, but a commercial piece of software,
  25. it is shipped with the 2.0 operating system, or available for
  26. 1.3 or 1.2 users by writing to
  27.  
  28.                         William Hawes
  29.                         P.O. Box 308
  30.                         Maynard, MA 01754
  31.                         USA
  32.  
  33.  
  34.  
  35. BEWARE!
  36.  
  37. Some routines are designed for future expansions of World Atlas, and are
  38. not intended for general use, so I don't guarantee their usage!
  39.  
  40.  
  41.  
  42. How to use World Atlas with AREXX.
  43. ----------------------------------
  44.  
  45. There are six different ways to use World Atlas with AREXX :
  46.  
  47. 1.  You have World Atlas running and you're in the SHELL.
  48.     Here you can call AREXX programs by typing RX <arexx programname>
  49.     such as one of the examples supplied on the Program disk.
  50.  
  51. 2.  Another way is to invoke an AREXX program from ANOTHER program.
  52.     That could be a text editor like CygnusEd or others with an AREXX port.
  53.     The invoked AREXX program could be one of the supplied examples.
  54.  
  55. 3.  While you're using the World Atlas program you can press
  56.     <SHIFT> + <F1-10>. This will invoke ANY arexx program's you've
  57.     written for World Atlas  These programs _MUST_ have the names
  58.     F1.wa, F2.wa, F3.wa etc. and be present in the REXX: directory.
  59.  
  60. 4.  Pressing <F10> (NO shift!) A requester appears and you can write
  61.     the name of the AREXX script you want to run!
  62.         To cancel the requester without executing a command, just click
  63.         inside the requester.
  64.         Note that the last typed command will always be in this requester,
  65.         a fast way to delete is using <SHIFT>+<DEL> or <SHIFT>+<BACKSPACE>
  66.  
  67. 5.  Pressing <F10> (NO shift!) A requester appears and you can type in
  68.     ANY AREXX command, i.e. (quotes must be included) 'africa'
  69.     This will jump to the africa-map fast and easy!
  70.  
  71. 6.  You can run World Atlas with an argument from the CLI/Shell.
  72.     For example: "wa rexx/tutor" This will invoke World Atlas AND the
  73.     AREXX program tutor.wa (as a script).
  74.     You can also invoke World Atlas like this:  "wa 'infocard 0 40"
  75.     that will start World Atlas with the infocard for Denmark
  76.     (Denmark is number 40, refer to the AREXX commands below).
  77.  
  78.  
  79. Which of the methods you choose isn't important - do what suit
  80. your needs.
  81.  
  82. You are not limited to entering the name of the AREXX script in
  83. the editor (refer to pt. 4).  You can also enter a command directly,
  84. or multiple commands (separated by a ;).  This is a great advantage. Suppose
  85.  you are in the editor for the country "France" and you want to quickly get to the "Special Locations." How do you do this?
  86.  
  87. Usually you would choose <MENU> to get to the InfoCard, then <MENU>
  88. to get to the "Select Menu", then you choose "Info On Earth", then
  89. you choose "Special Locations." Now, with AREXX, you can do this: While in the editor, press <F10> and in the requester type 'special_locations' (WITH the quotes or else WA will think it is an AREXX script with the name special_locations!).  World Atlas will bring you right to the Special Locations!
  90.  
  91.  
  92.  
  93. Why doesn't it work?
  94. --------------------
  95.  
  96. If World Atlas doesn't open an AREXX window, you aren't using AREXX.  In other words, you haven't run the REXXMAST program.
  97. If World Atlas can't find the RexxMast task, it can't run AREXX.
  98.  
  99. The normal way to do that is 'Rexxmast >NIL:'
  100. Remember you must also have some libraries.  This manual isn't a
  101. tutor in how to install AREXX so please refer to your system or AREXX manual!
  102.  
  103.  
  104.  
  105. Available AREXX commands :
  106. ==========================
  107.  
  108. "africa"
  109. "area <version> <number>"
  110. "area_population"
  111. "asia"
  112. "australia"
  113.  
  114. "capital <version> <number>"
  115. "change_area <number>"
  116. "change_capital <string>"
  117. "change_cities <string>"
  118. "change_climate <string>"
  119. "change_currency <currency>"
  120. "change_defense <string>"
  121. "change_facts <string>
  122. "change_government <string>"
  123. "change_languages <string>"
  124. "change_literacy <string>"
  125. "change_neighbors <string>"
  126. "change_population <number>"
  127. "change_population_density <string>"
  128. "change_religion <string>"
  129. "change_unemployment <string>"
  130. "checktype <string>"
  131. "choose_from_maps"
  132. "cities <version> <number>"
  133. "climate <version> <number>"
  134. "clr_gadget"
  135. "clr_key"
  136. "clr_mouse"
  137. "con2num <country>"
  138. "currency <version> <number>"
  139.  
  140. "defense <version> <number>"
  141. "delay <number>"
  142.  
  143. "earth_facts"
  144. "editor <version> <number>"
  145. "edit_print"
  146. "edit_gr_print"
  147. "edit_reset"
  148. "edit_save"
  149. "edit_show"
  150. "europe"
  151. "execute <string>"
  152.  
  153. "facts <version> <number>"
  154.  
  155. "gadget"
  156. "gadget_off <number>"
  157. "gadget_on <number>"
  158. "government <version> <number>"
  159.  
  160. "info_menu"
  161. "infocard <version> <number>"
  162. "infocard_down"
  163. "infocard_eject"
  164. "infocard_ff"
  165. "infocard_play"
  166. "infocard_rew"
  167. "infocard_up"
  168.  
  169. "key"
  170.  
  171. "languages <version> <number>"
  172. "literacy <version> <number>"
  173.  
  174. "main_menu"
  175. "main_states"
  176. "makeseed"
  177. "mouse"
  178. "mousewait"
  179. "mousex"
  180. "mousey"
  181. "mouse_off <number>"
  182. "mouse_on <number>"
  183.  
  184. "neighbors <version> <number>"
  185. "north_america"
  186. "num2con <version> <number>"
  187.  
  188. "org_asean"
  189. "org_commonwealth"
  190. "org_ec"
  191. "org_efta"
  192. "org_las"
  193. "org_nato"
  194. "org_oau"
  195. "org_oas"
  196. "org_oecd"
  197. "org_opec"
  198.  
  199. "pointed_place"
  200. "popinccurve <version> <country>"
  201. "population <version> <number>"
  202. "population_density <version> <country>"
  203. "preferences"
  204.  
  205. "quit"
  206.  
  207. "release"
  208. "religion <version> <country>"
  209.  
  210. "save_area"
  211. "save_capital"
  212. "save_cities"
  213. "save_climate"
  214. "save_currency"
  215. "save_defense"
  216. "save_facts"
  217. "save_government"
  218. "save_languages"
  219. "save_literacy"
  220. "save_neighbors"
  221. "save_population"
  222. "save_population_density"
  223. "save_religion"
  224. "save_unemployment"
  225. "seek_menu"
  226. "select_menu"
  227. "set_place <version> <number>"
  228. "show_on_map <version> <number>"
  229. "south_america"
  230. "special_locations"
  231. "suspend"
  232.  
  233. "time_sectors"
  234.  
  235. "unemployment <version> <country>"
  236. "usa2num <number>"
  237.  
  238. "version"
  239.  
  240. "wa2back"
  241. "wa2front"
  242. "wb2back"
  243. "wb2front"
  244. "where_are_we"
  245.  
  246.  
  247.  
  248.  
  249. AREXX COMMAND DESCRIPTIONS
  250. ==========================
  251.  
  252.  
  253. Note:
  254.  
  255. To make the commands easier to remember all commands which retrieve
  256. data from the program, must be given both VERSION and NUMBER.
  257. Logically you can't get any information about climates for the
  258. countries in the world - the return string will therefor look like
  259. this :  "<NOT AVAILABLE FOR A COUNTRY>"
  260. If you tried to get data-type from a state which isn't allowed you
  261. will get :  "<NOT AVAILABLE FOR A STATE>".
  262. This is _ONLY_ supplied to prevent, situations where you can't
  263. remember which and what command wants what parameters!
  264.  
  265.  
  266.  
  267.  
  268. "africa"
  269. --------
  270.  
  271. Jumps to the map of Africa (Choose from Maps)
  272.  
  273.  
  274.  
  275. "area <version> <number>"
  276. -------------------------
  277. <version>    0 = World Version      1 = USA Version
  278. <number>     Specified number of country/state
  279.  
  280. Returns the area for a specified country/state
  281.  
  282.  
  283.  
  284. "area_population"
  285. -----------------
  286.  
  287. Jumps to the Area And Population picture (equal to the function in the
  288. "Info On Earth"-menu)
  289.  
  290.  
  291.  
  292. "asia"
  293. ------
  294.  
  295. Jumps to the map of Asia (Choose From Maps)
  296.  
  297.  
  298. "australia"
  299. -----------
  300.  
  301. Jumps to the map of Australia (Choose From Maps)
  302.  
  303.  
  304.  
  305. "capital <version> <number>"
  306. ----------------------------
  307. <version>    0 = World Version      1 = USA Version
  308. <number>     Specified number of country/state
  309.  
  310. Returns the capital for a specified country/state
  311.  
  312.  
  313.  
  314. "change_area <number>"
  315. "change_capital <string>"
  316. "change_cities <string>"
  317. "change_climate <string>"
  318. "change_currency <string>"
  319. "change_defense <string>"
  320. "change_facts <string>"
  321. "change_government <string>"
  322. "change_languages <string>"
  323. "change_literacy <string>"
  324. "change_neighbors <string>"
  325. "change_population <number>"
  326. "change_population_density <string>"
  327. "change_religion <string>"
  328. "change_unemployment <string>"
  329. ------------------------------------
  330. <number>  A number specifying either population or area
  331. <string>  A normal text string as "Copenhagen"
  332.  
  333. These functions changes the actual country to the specified type of data.
  334. These functions are ment to be used with the function "set_place <version>
  335. <number>", but can also be used without if you're carefull.
  336.  
  337. example :
  338.  
  339.  setplace 0 40                          /*  Set's the actual country to Denmark */
  340.  string = "A little town"
  341.  change_capital string                  /*  Changes the capital to the given data */
  342.  
  343.  
  344. See also : "set_place"
  345.  
  346.  
  347.  
  348. "checktype <string>"
  349. --------------------
  350. <string>  A normal text-string which you want to examine
  351.  
  352. Checks the type of a country/state.  This function can be used to
  353. dertermine if a string given name, is the name of a country or a state.
  354.  
  355. ie. checktype california
  356.  
  357. this will return 1 because California is an american state.
  358.  
  359.  
  360. Returns :   0 = If it is a country
  361.             1 = If it is an american state
  362.           255 = If it is neither of the above (UNKNOW COUNTRY/STATE)
  363.  
  364.  
  365. "choose_from_maps"
  366. ------------------
  367. Jumps to the choose from maps, the section where you choose the actual
  368. part of the world (equal to the menu point of the same name)
  369.  
  370.  
  371.  
  372. "cities <version> <number>"
  373. ---------------------------
  374. <version>    0 = World Version      1 = USA Version
  375. <number>     Specified number of country/state
  376.  
  377. Returns the cities for a specified country/state
  378.  
  379.  
  380.  
  381. "climate <version> <number>"
  382. ----------------------------
  383. <version>    0 = World Version      1 = USA Version
  384. <number>     Specified number of country/state
  385.  
  386. Returns the climate for a specified country/state
  387.  
  388.  
  389.  
  390. "clr_gadget"
  391. ------------
  392.  
  393. Clears the last-gadget-clicked variable.
  394.  
  395.  
  396. See also :   "gadget"
  397.              "gadget_on"
  398.              "gadget_off"
  399.  
  400.  
  401.  
  402.  
  403.  
  404. "clr_key"
  405. ---------
  406.  
  407. Clears the last-key-pressed variable.
  408.  
  409.  
  410. See also :   "key"
  411.  
  412.  
  413.  
  414.  
  415. "clr_mouse"
  416. -----------
  417.  
  418. Clear the last-mousebutton-clicked variable
  419.  
  420. See also :   "mouse"
  421.              "mouse_on"
  422.              "mouse_off"
  423.  
  424.  
  425.  
  426.  
  427. "con2num <country>"
  428. -------------------
  429. <country>  a specified country
  430.  
  431.  
  432. Converts a country to a number.  Returns the number of the country.
  433.  
  434.  
  435.  
  436.  
  437.  
  438. "currency <version> <number>"
  439. -----------------------------
  440. <version>    0 = World Version      1 = USA Version
  441. <number>     Specified number of country/state
  442.  
  443. Returns the currency for a specified country/state
  444.  
  445.  
  446.  
  447. "defense <version> <number>"
  448. ----------------------------
  449. <version>    0 = World Version      1 = USA Version
  450. <number>     Specified number of country/state
  451.  
  452. Returns the money used on defense for a specified country/state
  453.  
  454.  
  455.  
  456. "delay <pause>"
  457. ---------------
  458. <pause>  Specified value.  1 = 1/50 of a second.
  459.  
  460. Makes a delay of a specified times of 1/50 of a second.
  461.  
  462.  
  463.  
  464.  
  465. "earth_facts"
  466. -------------
  467.  
  468. Jumps to the info on earth, equal to Info on earth / Facts
  469.  
  470.  
  471.  
  472.  
  473. "editor <version> <number>"
  474. ---------------------------
  475. <version>    0 = World Version      1 = USA Version
  476. <number>     Specified number of country/state
  477.  
  478. Invokes the editor for a specified country/state
  479.  
  480.  
  481.  
  482. "edit_print"
  483. ------------
  484.  
  485. "Click's" the [PRINT] gadget in the editor - without graphic-dump.
  486.  
  487. Note :  No requester will appear to ask you if you're sure, it just does
  488.         the job - beware of that!
  489.  
  490.  
  491.  
  492.  
  493. "edit_gr_print"
  494. ---------------
  495.  
  496. "Click's" the [PRINT] gadget in the editor with graphic-dump.
  497.  
  498. Note :  No requester will appear to ask you if you're sure, it just does
  499.         the job - beware of that!
  500.  
  501.  
  502.  
  503.  
  504. "edit_reset"
  505. ------------
  506. "Click's" the [RESET] gadget in the editor.
  507.  
  508. Note :  No requester will appear to ask you if you're sure, it just does
  509.         the job - beware of that!
  510.  
  511.  
  512. "edit_save"
  513. -----------
  514. "Click's" the [SAVE] gadget in the editor.
  515.  
  516. Note :  No requester will appear to ask you if you're sure, it just does
  517.         the job - beware of that!
  518.  
  519.  
  520.  
  521. "edit_show"
  522. -----------
  523. "Click's" the [SHOW] gadget in the editor.
  524.  
  525. Note :  No requester will appear to ask you if you're sure, it just does
  526.         the job - beware of that!
  527.  
  528.  
  529.  
  530. "europe"
  531. --------
  532.  
  533. Jumps to the map of Europe (Choose From Maps)
  534.  
  535.  
  536. "execute <string>"
  537. ------------------
  538. <string>  A string given by the user
  539.  
  540. This function suspends World Atlas, and executes the <execute_string> is
  541. if it was typed in, in the CLI/Shell.
  542.  
  543. Example :
  544.             execute dir df0:
  545.  
  546. This will freeze World Atlas, take a directory of df0: and return to World
  547. Atlas!
  548.  
  549.  
  550.  
  551. "facts <version> <number>"
  552. --------------------------
  553. <version>    0 = World Version      1 = USA Version
  554. <number>     Specified number of country/state
  555.  
  556. This function returns the "scroll"-text-information for a specified
  557. country/state.
  558.  
  559.  
  560.  
  561. "gadget"
  562. --------
  563.  
  564. This function returns the last click gadget.
  565.  
  566.  
  567.  
  568. "gadget_off <number>"
  569. ---------------------
  570. <number>  Number of a gadget
  571.  
  572. This function turns a specified gadget off.
  573.  
  574. Legal numbers of gadgets :
  575.  
  576. [MENU]          1
  577. [STATES]        2
  578. [ARROW_UP]      3
  579. [ARROW_DOWN]    4
  580. [HOUR_UP]       5
  581. [HOUR_DOWN]     6
  582. [MINUTES_UP]    7
  583. [MINUTES_DOWN]  8
  584. [SELECT]        9
  585. [MAP]          10
  586. [CURVE]        11
  587. [EDIT]         12
  588. [REWIND]       13
  589. [PLAY]         14
  590. [FAST-FORWARD] 15
  591. [EJECT]        16
  592. [PRINT]        17
  593. [RESET]        18
  594. [SAVE]         19
  595. [SHOW]         20
  596.  
  597.  
  598.  
  599.  
  600. "gadget_on <number>"
  601. --------------------
  602. <number>  Number of a gadget
  603.  
  604. This function turns a specified gadget on.
  605.  
  606. See also :  "gadget_off"
  607.  
  608.  
  609.  
  610.  
  611.  
  612. "government <version> <number>"
  613. -------------------------------
  614. <version>    0 = World Version      1 = USA Version
  615. <number>     Specified number of country/state
  616.  
  617. This function returns the governmental system for a specified country/state.
  618.  
  619.  
  620. "info_menu"
  621. -----------
  622. This function jumps to the "Info On Earth" menu
  623.  
  624.  
  625.  
  626. "infocard <version> <number>"
  627. -----------------------------
  628. <version>    0 = World Version      1 = USA Version
  629. <number>     Specified number of country/state
  630.  
  631. This function invokes the infocard for a specified country/state
  632.  
  633.  
  634.  
  635. "infocard_down"
  636. ---------------
  637.  
  638. Scrolls the text-information on the infocard a line down
  639.  
  640.  
  641.  
  642. "infocard_eject"
  643. ----------------
  644.  
  645. "Click's" the eject gadget on the infocard.
  646.  
  647.  
  648. "infocard_ff"
  649. -------------
  650.  
  651. "Click's" the fast-forward gadget on the infocard.
  652.  
  653.  
  654.  
  655. "infocard_play"
  656. ---------------
  657.  
  658. "Click's" the play gadget on the infocard.
  659.  
  660.  
  661.  
  662. "infocard_rew"
  663. --------------
  664.  
  665. "Click's" the rewind gadget on the infocard.
  666.  
  667.  
  668. "infocard_up"
  669. -------------
  670.  
  671. Scrolls the text-information on the infocard a line up
  672.  
  673.  
  674.  
  675. "key"
  676. -----
  677.  
  678. Returns the last pressed key, the return value is a RAWKEY code and NOT
  679. an ASCII value, please refer the ROM KERNAL manual or other technical
  680. documentation for a complete list of codes.
  681.  
  682.  
  683.  
  684. "languages <version> <number>"
  685. ------------------------------
  686. <version>    0 = World Version      1 = USA Version
  687. <number>     Specified number of country/state
  688.  
  689. This function returns the languages for a specified country/state.
  690.  
  691.  
  692.  
  693. "literacy <version> <number>"
  694. -----------------------------
  695. <version>    0 = World Version      1 = USA Version
  696. <number>     Specified number of country/state
  697.  
  698. This function returns the literacy for a specified country/state.
  699.  
  700.  
  701. "main_menu"
  702. -----------
  703. This function jumps to the main-menu for the current version
  704.  
  705.  
  706.  
  707. "main_states"
  708. -------------
  709.  
  710. Jumps to the choose from maps (america version).
  711.  
  712.  
  713.  
  714. "makeseed"
  715. ----------
  716.  
  717. This function returns a seed for use with AREXX' random function.
  718.  
  719.  
  720.  
  721. "mouse"
  722. -------
  723.  
  724. Returns the last-clicked mousebutton.
  725.  
  726. Values returned can be :
  727.                            1 = Left mousebutton
  728.                            2 = Right mousebutton
  729.  
  730.  
  731. "mousewait"
  732. -----------
  733.  
  734. This function does a simple Mousewait
  735.  
  736.  
  737.  
  738. "mousex"
  739. --------
  740.  
  741. Returns the actual X position of the mousepointer
  742.  
  743.  
  744.  
  745. "mousey"
  746. --------
  747.  
  748. Returns the actual Y position of the mousepointer
  749.  
  750.  
  751.  
  752. "mouse_off <number>"
  753. --------------------
  754. <number> specified value 1 or 2 (refer "mouse" for documentation)
  755.  
  756. Turns specified mousebuttons off
  757.  
  758.  
  759.  
  760. "mouse_on <number>"
  761. -------------------
  762. <number> specified value 1 or 2 (refer "mouse" for documentation)
  763.  
  764. Turns specified mousebuttons on
  765.  
  766.  
  767.  
  768. "neighbors <version> <number>"
  769. ------------------------------
  770. <version>    0 = World Version      1 = USA Version
  771. <number>     Specified number of country/state
  772.  
  773. This function returns the neighbors for a specified country/state.
  774.  
  775.  
  776.  
  777. "north_america"
  778. ---------------
  779.  
  780. Jumps to the map of North America (Choose from Maps)
  781.  
  782.  
  783.  
  784. "num2con <version> <number>"
  785. ----------------------------
  786. <version>    0 = World Version      1 = USA Version
  787. <number>     Specified number of country/state
  788.  
  789. This function converts a number to a country, ie. num2con 0 40
  790. would return Denmark (because it has # 40 in the countrylist).
  791.  
  792.  
  793.  
  794. "org_asean"
  795. "org_commonwealth"
  796. "org_ec"
  797. "org_efta"
  798. "org_las"
  799. "org_nato"
  800. "org_oau"
  801. "org_oas"
  802. "org_oecd"
  803. "org_opec"
  804. ------------------
  805. These functions will invoke the specified organization text/information.
  806.  
  807.  
  808.  
  809. "pointed_place"
  810. ---------------
  811.  
  812. This returns the last pointed country from a map.
  813.  
  814.  
  815.  
  816. "popinccurve <country>"
  817. -----------------------
  818.  
  819. This function invokes the population increase curve for a specified
  820. country.
  821.  
  822.  
  823.  
  824. "population <version> <number>"
  825. -------------------------------
  826. <version>    0 = World Version      1 = USA Version
  827. <number>     Specified number of country/state
  828.  
  829. This function returns the population for a specified country/state.
  830.  
  831.  
  832.  
  833. "population_density <version> <number>"
  834. ---------------------------------------
  835. <version>    0 = World Version      1 = USA Version
  836. <number>     Specified number of country/state
  837.  
  838. This function returns the population density for a specified country/state.
  839.  
  840.  
  841.  
  842.  
  843. "preferences"
  844. -------------
  845.  
  846. Jumps to the PreferenceCard.
  847.  
  848.  
  849.  
  850. "quit"
  851. ------
  852.  
  853. Ends World Atlas, with NO warning (BEWARE!).
  854.  
  855.  
  856.  
  857. "release"
  858. ---------
  859. This function releases World Atlas, meaning the same as if you
  860. did mouse_on on both buttons, gadget_on on all gadgets.
  861.  
  862.  
  863.  
  864. "religion <version> <number>"
  865. -----------------------------
  866. <version>    0 = World Version      1 = USA Version
  867. <number>     Specified number of country/state
  868.  
  869. This function returns the religions for a specified country/state.
  870.  
  871.  
  872.  
  873. "save_area"
  874. "save_capital"
  875. "save_cities"
  876. "save_climate"
  877. "save_currency"
  878. "save_defense"
  879. "save_facts"
  880. "save_government"
  881. "save_languages"
  882. "save_literacy"
  883. "save_neighbors"
  884. "save_population"
  885. "save_population_density"
  886. "save_religion"
  887. "save_unemployment"
  888. -------------------------
  889. This will save the specified data-type on disk, BEWARE no "are you sure?"
  890. will be asked - so do be carefull, and remember always NOT to save
  891. anything on your original disks.
  892.  
  893.  
  894.  
  895. "seek_menu"
  896. -----------
  897. This function jumps to the seek-menu for the current version.
  898.  
  899.  
  900. "select_menu"
  901. -------------
  902. This function jumps to the select-menu
  903.  
  904.  
  905.  
  906. "set_place <version> <number>"
  907. ------------------------------
  908. <version>    0 = World Version      1 = USA Version
  909. <number>     Specified number of country/state
  910.  
  911.  
  912.  
  913. "show_on_map <version> <number>"
  914. --------------------------------
  915. <version>    0 = World Version      1 = USA Version
  916. <number>     Specified number of country/state
  917.  
  918.  
  919.  
  920. "south_america"
  921. ---------------
  922. Jumps to the map of South America (Choose from Maps)
  923.  
  924.  
  925.  
  926.  
  927. "special_locations"
  928. -------------------
  929. Jumps to the Special Locations, equal to Info on earth / Special Locations
  930.  
  931.  
  932.  
  933. "suspend"
  934. ---------
  935. This function suspends World Atlas, meaning the same as if you
  936. did mouse_off on both buttons, gadget_off on all gadgets.
  937.  
  938.  
  939.  
  940.  
  941. "time_sectors"
  942. --------------
  943. Jumps to the Time Sectors, equal to Info on earth / Time Sectors
  944.  
  945.  
  946.  
  947.  
  948. "unemployment"
  949. --------------
  950.  
  951. This function returns the unemployment for a specified country/state.
  952.  
  953.  
  954.  
  955. "usa2num <state>"
  956. -----------------
  957. <state>  A specified state
  958.  
  959. Converts a state to a number.  Returns the number of the state.
  960.  
  961.  
  962.  
  963.  
  964. "version"
  965. ---------
  966. Returns the current version number, and authors etc.
  967.  
  968.  
  969.  
  970. "wa2back"
  971. ---------
  972. This pops the World Atlas screen to the back.
  973.  
  974.  
  975.  
  976. "wa2front"
  977. ----------
  978. This pops the World Atlas screen to the front.
  979.  
  980.  
  981.  
  982. "wb2back"
  983. ---------
  984. This pops the WorkBench screen to the back (usefull to get the
  985. AREXX output window to the back).
  986.  
  987.  
  988.  
  989. "wb2front"
  990. ----------
  991. This pops the WorkBench screen to the front (usefull to get the
  992. AREXX output window to the front).
  993.  
  994.  
  995.  
  996. "where_are_we"
  997. --------------
  998. Returns a number, so your AREXX program can see where you are in WA.
  999. Play around with these numbers to find one suiting your needs!
  1000. Actually not a function for you as a user, but implemented for future
  1001. purposes!  These variables are also used, for internal checking in
  1002. World Atlas, for future reasons some numbers are missing in the list.
  1003. Some numberes are also obsolete.
  1004.  
  1005. Numbers which can be returned :
  1006.  
  1007. PREFERENCE_CARD                  1
  1008. SELECT_MENU                              2
  1009. MAIN_MENU                                3
  1010. INFO_ON_EARTH                    4
  1011. SEEK_MENU                                5
  1012. ORGANIZATIONS                    6
  1013. INFOCARD                                10
  1014. BIG_MAP                                 11
  1015. SMALL_MAP                               12
  1016. EDITOR                                  13
  1017. END_WORLD_ATLAS                 14
  1018. POPINCCURVE                             15
  1019. FACTS                                   16
  1020. TIME_SECTORS                    17
  1021. SPECIAL_LOCATIONS               18
  1022. POPULATION_AREA                 19
  1023. AFRICA                                  20
  1024. EUROPE                                  21
  1025. ASIA                                    22
  1026. AUSTRALIA                               23
  1027. NORTH_AMERICA                   24
  1028. SOUTH_AMERICA                   25
  1029. CHOOSE_FROM_MAPS                26
  1030. MAIN_STATES                             27
  1031. SHOW_ON_MAP                             28
  1032. NOPOPINC                                29
  1033. SHOWING_ORGANIZATION     30
  1034. ASEAN                                   31
  1035. COMMONWEALTH                    32
  1036. EC                                              33
  1037. EFTA                                    34
  1038. LAS                                             35
  1039. NATO                                    36
  1040. OAU                                             37
  1041. OAS                                             38
  1042. OECD                                    39
  1043. OPEC                                    40
  1044. FROM_LIST                               41
  1045. FOUND_LIST                              42
  1046.  
  1047.